package com.gms.entity.place;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/*
* 预约表
* */
@Data
@TableName(value = "place_apply")//指定表名
public class PlaceApply implements Serializable {

    @TableId(value = "apply_id",type = IdType.AUTO)
    private Integer apply_id;
    @TableField("number")
    private String user_id;
    @TableField("place_no")
    private String place_no;
    @TableField("place_storey")
    private String place_storey;
    @TableField("place_type")
    private String place_type;
    @TableField("apply_date")
    private Date apply_date;
    @TableField("apply_period")
    private String apply_period;
    @TableField("apply_type")
    private String apply_type;
    @TableField("apply_start")
    private String apply_start;
    @TableField("apply_end")
    private String apply_end;
    @TableField("apply_state")
    private String apply_state;
    @TableField("eventid")
    private String eventid;

    public Integer getApply_id() {
        return apply_id;
    }

    public void setApply_id(Integer apply_id) {
        this.apply_id = apply_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getPlace_no() {
        return place_no;
    }

    public void setPlace_no(String place_no) {
        this.place_no = place_no;
    }

    public String getPlace_storey() {
        return place_storey;
    }

    public void setPlace_storey(String place_storey) {
        this.place_storey = place_storey;
    }

    public String getPlace_type() {
        return place_type;
    }

    public void setPlace_type(String place_type) {
        this.place_type = place_type;
    }

    public Date getApply_date() {
        return apply_date;
    }

    public void setApply_date(Date apply_date) {
        this.apply_date = apply_date;
    }

    public String getApply_period() {
        return apply_period;
    }

    public void setApply_period(String apply_period) {
        this.apply_period = apply_period;
    }

    public String getApply_type() {
        return apply_type;
    }

    public void setApply_type(String apply_type) {
        this.apply_type = apply_type;
    }

    public String getApply_start() {
        return apply_start;
    }

    public void setApply_start(String apply_start) {
        this.apply_start = apply_start;
    }

    public String getApply_end() {
        return apply_end;
    }

    public void setApply_end(String apply_end) {
        this.apply_end = apply_end;
    }

    public String getApply_state() {
        return apply_state;
    }

    public void setApply_state(String apply_state) {
        this.apply_state = apply_state;
    }

    public String getEventid() {
        return eventid;
    }

    public void setEventid(String eventid) {
        this.eventid = eventid;
    }


    @Override
    public String toString() {
        return "PlaceApply{" +
                "apply_id=" + apply_id +
                ", user_id='" + user_id + '\'' +
                ", place_no='" + place_no + '\'' +
                ", place_storey='" + place_storey + '\'' +
                ", place_type='" + place_type + '\'' +
                ", apply_date=" + apply_date +
                ", apply_period='" + apply_period + '\'' +
                ", apply_type='" + apply_type + '\'' +
                ", apply_start='" + apply_start + '\'' +
                ", apply_end='" + apply_end + '\'' +
                ", apply_state='" + apply_state + '\'' +
                ", eventid='" + eventid + '\'' +
                '}';
    }
}
